package com.ruoyi.spot.realtime.transactionrecord.service;

import java.util.List;
import com.ruoyi.spot.realtime.transactionrecord.domain.SpotTransactionRecordRealtimeData;
import com.ruoyi.spot.realtime.transactionrecord.domain.VO.SpotTransactionRecordRealtimeDataVO;

/**
 * 实时获取成交记录Service接口
 * 
 * @author saumell
 * @date 2024-08-07
 */
public interface ISpotTransactionRecordRealtimeDataService 
{
    /**
     * 查询实时获取成交记录
     * 
     * @param id 实时获取成交记录主键
     * @return 实时获取成交记录
     */
    public SpotTransactionRecordRealtimeDataVO selectSpotTransactionRecordRealtimeDataById(Integer id);

    /**
     * 查询实时获取成交记录列表
     * 
     * @param spotTransactionRecordRealtimeData 实时获取成交记录
     * @return 实时获取成交记录集合
     */
    public List<SpotTransactionRecordRealtimeDataVO> selectSpotTransactionRecordRealtimeDataList(SpotTransactionRecordRealtimeDataVO spotTransactionRecordRealtimeData);

    /**
     * 新增实时获取成交记录
     * 
     * @param spotTransactionRecordRealtimeData 实时获取成交记录
     * @return 结果
     */
    public int insertSpotTransactionRecordRealtimeData(SpotTransactionRecordRealtimeData spotTransactionRecordRealtimeData);

    /**
     * 修改实时获取成交记录
     * 
     * @param spotTransactionRecordRealtimeData 实时获取成交记录
     * @return 结果
     */
    public int updateSpotTransactionRecordRealtimeData(SpotTransactionRecordRealtimeData spotTransactionRecordRealtimeData);

    /**
     * 批量删除实时获取成交记录
     * 
     * @param ids 需要删除的实时获取成交记录主键集合
     * @return 结果
     */
    public int deleteSpotTransactionRecordRealtimeDataByIds(Integer[] ids);

    /**
     * 删除实时获取成交记录信息
     * 
     * @param id 实时获取成交记录主键
     * @return 结果
     */
    public int deleteSpotTransactionRecordRealtimeDataById(Integer id);

    List<SpotTransactionRecordRealtimeDataVO> selectSpotAllData();

    Integer queryCurryNumber(String currencyPair);
}
